#include<iostream>
#include<string>



int main()
{
    std::string name="hello";
    std::string s=name+"world";//   name+="world";//想等于strcat这是c语言所不能完成的
    std::cout<<name<<std::endl;
    std::cout<<s.size()<<std::endl;//strlen
    s="hello1";
    std::cout<<(name==s)<<std::endl;//strcmp



    return 0;
}